/*
* This is the default sample script
* @author Vadim Voituk, Juriy Bura
*/

agent.onCollision = { event -> 
  println event.name + " happens" 
  agent.sayOuch()
}
agent.onTick = { 
  println "tick #" +  it.tick
}

agent.moveRight()
Thread.sleep(1100)
agent.moveDown()
Thread.sleep(1000)
agent.stop()
